package com.hwg.emp.model;

import java.util.Date;

public class EmployeeMD extends UserMD {

	private String id;
	
	private String sex;
	
	private String age;
	
	private Date birth;
	
	private String phone;
	
	private DeptMD dept;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public DeptMD getDept() {
		return dept;
	}

	public void setDept(DeptMD dept) {
		this.dept = dept;
	}

	@Override
	public String toString() {
		return "EmployeeDM [id=" + id + ", sex=" + sex + ", age=" + age
				+ ", birth=" + birth + ", phone=" + phone + ", dept=" + dept
				+ ", getId()=" + getId() + ", getSex()=" + getSex()
				+ ", getAge()=" + getAge() + ", getBirth()=" + getBirth()
				+ ", getPhone()=" + getPhone() + ", getDept()=" + getDept()
				+ ", getAccount()=" + getAccount() + ", getPassword()="
				+ getPassword() + ", getName()=" + getName() + ", getClass()="
				+ getClass() + ", hashCode()=" + hashCode() + ", toString()="
				+ super.toString() + "]";
	} 
	
}
